package LuoGu;

import java.math.BigInteger;
import java.util.Scanner;

public class Demo3 {

    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        String s1=sc.next();
        String s2=sc.next();
        BigInteger b1=new BigInteger(s1);
        BigInteger b2=new BigInteger(s2);
        BigInteger multiply = b1.multiply(b2);
        System.out.println(multiply);

    }
}
